package com.aspose.cells;

class zjz extends zck {
   zjz(zn var1, float var2, float var3, zbkr var4) {
      super(var1, var2, var3, var4);
      switch(this.e.b) {
      case 1:
      default:
         break;
      case 2:
         com.aspose.cells.b.a.b.a.zi var5 = new com.aspose.cells.b.a.b.a.zi(1.0F, 0.0F, 0.0F, -1.0F, 0.0F, this.e.S().i());
         this.a.b(var5);
         break;
      case 3:
         com.aspose.cells.b.a.b.a.zi var6 = new com.aspose.cells.b.a.b.a.zi(-1.0F, 0.0F, 0.0F, -1.0F, this.e.S().h(), this.e.S().i());
         this.a.b(var6);
         break;
      case 4:
         com.aspose.cells.b.a.b.a.zi var7 = new com.aspose.cells.b.a.b.a.zi(-1.0F, 0.0F, 0.0F, 1.0F, this.e.S().h(), 0.0F);
         this.a.b(var7);
      }

   }

   void b() {
      long var1 = 0L;
      long var3 = 0L;
      if (this.e.m != null) {
         if (this.e.m.a.size() > 0) {
            var1 = com.aspose.cells.b.a.ze.c(this.e.m.a.get(0));
            var3 = com.aspose.cells.b.a.ze.c(this.e.m.a.get(1));
         } else {
            var1 = -20833L;
            var3 = 62500L;
         }
      } else {
         var1 = -20833L;
         var3 = 62500L;
      }

      zace var5 = new zace(new zag[]{new zag("adj1", var1), new zag("adj2", var3)}, new zacf[]{new zacf("dxPos", (byte)0, -27273042329602L, 27273042316901L, 100000L, false), new zacf("dyPos", (byte)0, -27273042329603L, 27273042316902L, 100000L, false), new zacf("xPos", (byte)1, -27273042329606L, -27273042329612L, 0L, false), new zacf("yPos", (byte)1, -27273042329607L, -27273042329613L, 0L, false), new zacf("ht", (byte)6, -27273042329655L, -27273042329612L, -27273042329613L, false), new zacf("wt", (byte)12, -27273042329656L, -27273042329612L, -27273042329613L, false), new zacf("g2", (byte)6, -27273042329656L, -27273042329616L, -27273042329617L, false), new zacf("g3", (byte)12, -27273042329655L, -27273042329616L, -27273042329617L, false), new zacf("g4", (byte)1, -27273042329606L, -27273042329618L, 0L, false), new zacf("g5", (byte)1, -27273042329607L, -27273042329619L, 0L, false), new zacf("g6", (byte)1, -27273042329620L, 0L, -27273042329614L, false), new zacf("g7", (byte)1, -27273042329621L, 0L, -27273042329615L, false), new zacf("g8", (byte)10, -27273042329622L, -27273042329623L, 0L, false), new zacf("g9", (byte)0, -27273042329604L, 6600L, 21600L, false), new zacf("g10", (byte)1, -27273042329624L, 0L, -27273042329625L, false), new zacf("g11", (byte)0, -27273042329626L, 1L, 3L, false), new zacf("g12", (byte)0, -27273042329604L, 1800L, 21600L, false), new zacf("g13", (byte)1, -27273042329627L, -27273042329628L, 0L, false), new zacf("g14", (byte)0, -27273042329629L, -27273042329622L, -27273042329624L, false), new zacf("g15", (byte)0, -27273042329629L, -27273042329623L, -27273042329624L, false), new zacf("g16", (byte)1, -27273042329630L, -27273042329614L, 0L, false), new zacf("g17", (byte)1, -27273042329631L, -27273042329615L, 0L, false), new zacf("g18", (byte)0, -27273042329604L, 4800L, 21600L, false), new zacf("g19", (byte)0, -27273042329627L, 2L, 1L, false), new zacf("g20", (byte)1, -27273042329634L, -27273042329635L, 0L, false), new zacf("g21", (byte)0, -27273042329636L, -27273042329622L, -27273042329624L, false), new zacf("g22", (byte)0, -27273042329636L, -27273042329623L, -27273042329624L, false), new zacf("g23", (byte)1, -27273042329637L, -27273042329614L, 0L, false), new zacf("g24", (byte)1, -27273042329638L, -27273042329615L, 0L, false), new zacf("g25", (byte)0, -27273042329604L, 1200L, 21600L, false), new zacf("g26", (byte)0, -27273042329604L, 600L, 21600L, false), new zacf("x23", (byte)1, -27273042329614L, -27273042329642L, 0L, false), new zacf("x24", (byte)1, -27273042329632L, -27273042329641L, 0L, false), new zacf("x25", (byte)1, -27273042329639L, -27273042329628L, 0L, false), new zacf("il", (byte)0, -27273042329602L, 2977L, 21600L, false), new zacf("it", (byte)0, -27273042329603L, 3262L, 21600L, false), new zacf("ir", (byte)0, -27273042329602L, 17087L, 21600L, false), new zacf("ib", (byte)0, -27273042329603L, 17337L, 21600L, false), new zacf("g27", (byte)0, -27273042329602L, 67L, 21600L, false), new zacf("g28", (byte)0, -27273042329603L, 21577L, 21600L, false), new zacf("g29", (byte)0, -27273042329602L, 21582L, 21600L, false), new zacf("g30", (byte)0, -27273042329603L, 1235L, 21600L, false), new zacf("pang", (byte)5, -27273042329612L, -27273042329613L, 0L, false), new zacf("hd2", (byte)0, -27273042329603L, 1L, 2L, true), new zacf("wd2", (byte)0, -27273042329602L, 1L, 2L, true), new zacf("cd2", (byte)0, -27273042329601L, 1L, 2L, true), new zacf("cd4", (byte)0, -27273042329601L, 1L, 4L, true), new zacf("3cd4", (byte)0, -27273042329601L, 3L, 4L, true)}, new zmj[]{new zmj(-27273042329650L, -27273042329607L, -27273042329657L), new zmj(-27273042329606L, -27273042329651L, -27273042329658L), new zmj(-27273042329652L, -27273042329607L, 0L), new zmj(-27273042329606L, -27273042329653L, -27273042329659L), new zmj(-27273042329614L, -27273042329615L, -27273042329654L)}, new zaf[]{new zaf(false, 27273042316901L, -2147483647L, 2147483647L, 27273042316902L, -2147483647L, 2147483647L, -27273042329614L, -27273042329615L)}, new zatk[]{new zatk(new byte[]{1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 0}, new long[]{3900L, 14370L, 6753L, 9190L, -11429249L, 7426832L, 5333L, 7267L, -8646143L, 5396714L, 4365L, 5945L, -8748475L, 5983381L, 4857L, 6595L, -7859164L, 7034504L, 5333L, 7273L, -4722533L, 6541615L, 6775L, 9220L, -2776035L, 7816140L, 5785L, 7867L, 37501L, 6842000L, 6752L, 9215L, 1347096L, 6910353L, 7720L, 10543L, 3974558L, 4542661L, 4360L, 5918L, -16496525L, 8804134L, 4345L, 5945L, -14809710L, 9151131L}, 43200L, 43200L, (byte)1, true, true), new zatk(new byte[]{1, 3, 0}, new long[]{-27273042329643L, -27273042329615L, -27273042329642L, -27273042329642L, 0L, 21600000L}, 0L, 0L, (byte)1, true, true), new zatk(new byte[]{1, 3, 0}, new long[]{-27273042329644L, -27273042329633L, -27273042329641L, -27273042329641L, 0L, 21600000L}, 0L, 0L, (byte)1, true, true), new zatk(new byte[]{1, 3, 0}, new long[]{-27273042329645L, -27273042329640L, -27273042329628L, -27273042329628L, 0L, 21600000L}, 0L, 0L, (byte)1, true, true), new zatk(new byte[]{1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3}, new long[]{4693L, 26177L, 4345L, 5945L, 5204520L, 1585770L, 6928L, 34899L, 4360L, 5918L, 4416628L, 686848L, 16478L, 39090L, 6752L, 9215L, 8257449L, 844866L, 28827L, 34751L, 6752L, 9215L, 387196L, 959901L, 34129L, 22954L, 5785L, 7867L, -4217541L, 4255042L, 41798L, 15354L, 5333L, 7273L, 1819082L, 1665090L, 38324L, 5426L, 4857L, 6595L, -824660L, 891534L, 29078L, 3952L, 4857L, 6595L, -8950887L, 1091722L, 22141L, 4720L, 4365L, 5945L, -9809656L, 1061181L, 14000L, 5192L, 6753L, 9190L, -4002417L, 739161L, 4127L, 15789L, 6753L, 9190L, 9459261L, 711490L}, 43200L, 43200L, (byte)0, true, false)}, new zah(-27273042329646L, -27273042329647L), new zah(-27273042329648L, -27273042329649L));
      var5.a(0);
      float var6 = this.g;
      float var7 = this.h;
      float var8 = this.e.v().h();
      float var9 = this.e.v().i();
      com.aspose.cells.b.a.b.zq var10 = new com.aspose.cells.b.a.b.zq(var6, var7, var8, var9);
      com.aspose.cells.b.a.b.a.zf var11 = this.a.e();
      this.a.a(4);
      com.aspose.cells.b.a.b.zm var12 = zbum.a(this.e.x());
      Object var13 = null;
      com.aspose.cells.b.a.b.a.ze[] var14 = var5.a(var10.f(), var10.g(), var10.h(), var10.i());
      int var15 = var14.length;
      if (var15 != 0) {
         for(int var16 = 0; var16 < var15 - 1; ++var16) {
            if (!this.e.w().a()) {
               com.aspose.cells.b.a.b.zc var17 = zbum.a(this.e.w(), var14[var16]);
               this.a.a(var17, var14[var16]);
            }

            if (!this.e.x().a()) {
               this.a.a(var12, var14[var16]);
            }
         }

         this.a();
         this.a.a(var11);
      }
   }

   void a() {
      com.aspose.cells.b.a.b.zq var1 = new com.aspose.cells.b.a.b.zq(this.e.v().f() + this.e.v().h() * 0.16F, this.e.v().g() + this.e.v().i() * 0.23F, this.e.v().h() * 0.6F, this.e.v().i() * 0.6F);
      if (!this.e.x().a()) {
         var1.a(-(this.e.x().f() / 2.0F), -(this.e.x().f() / 2.0F));
      }

      float var2 = zbum.a(this.e.y());
      if (this.e.A() != 7 && this.e.A() != 9) {
         if (this.e.A() == 0 || this.e.A() == 8) {
            var1.c(var1.h() - var2);
         }
      } else {
         var1.a(var1.f() + var2);
      }

      var1.a(var1.f() + (float)this.e.k().a());
      var1.b(var1.g() + (float)this.e.k().b());
      if (!this.e.G().equals("\n")) {
         zbum.a(this.a, this.e, var1, this.e.G(), this.e.D(), this.e.y(), this.e.z(), this.e.A(), this.e.B(), this.e.C());
      }
   }
}
